using System;
using System.Collections;
using System.Collections.Generic;

using BVMB.DataLayer.Base;

namespace BVMB.DataLayer.BusinessObjects
{
    public partial class ThamSo : BusinessBase<int>
    {
        #region Declarations

		private string _tenThamSo = null;
		private int? _giaTri = null;
		private string _ghiChu = null;
		
		
		
		#endregion

        #region Constructors

        public ThamSo() { }

        #endregion

        #region Methods

        public override int GetHashCode()
        {
            System.Text.StringBuilder sb = new System.Text.StringBuilder();
            
            sb.Append(this.GetType().FullName);
			sb.Append(_tenThamSo);
			sb.Append(_giaTri);
			sb.Append(_ghiChu);

            return sb.ToString().GetHashCode();
        }

        #endregion

        #region Properties

		public virtual string TenThamSo
        {
            get { return _tenThamSo; }
			set
			{
				OnTenThamSoChanging();
				_tenThamSo = value;
				OnTenThamSoChanged();
			}
        }
		partial void OnTenThamSoChanging();
		partial void OnTenThamSoChanged();
		
		public virtual int? GiaTri
        {
            get { return _giaTri; }
			set
			{
				OnGiaTriChanging();
				_giaTri = value;
				OnGiaTriChanged();
			}
        }
		partial void OnGiaTriChanging();
		partial void OnGiaTriChanged();
		
		public virtual string GhiChu
        {
            get { return _ghiChu; }
			set
			{
				OnGhiChuChanging();
				_ghiChu = value;
				OnGhiChuChanged();
			}
        }
		partial void OnGhiChuChanging();
		partial void OnGhiChuChanged();
		
        #endregion
    }
}
